home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
prodpack.zip
/
DB4PPSRC.EXE
/
_KEEPCLK.PRG
< prev
next >
Wrap
Text File
|
1993-05-04
|
1KB
|
48 lines
*' $Header: $
PROCEDURE _KeepClk
PARAMETERS pl_status, pl_clock
*---------------------------------------------------------------------
* NAME
* _KeepClk - Turn the status bar off, and keep the clock ticking
*
* DESCRIPTION
* Turn off the status bar to reduce screen flicked. Since turning
* off the status bar clears the screen, save the screen before doing it.
* Then, turn back on the clock, because it would appear frozen after
* the restore screen.
*
* SYNOPSIS
* DO _KeepClk WITH pl_status, pl_clock
*
* PARAMETERS
* pl_status = Returns previous STATUS state, .T. is ON, .F. is OFF
* pl_clock = Returns previous CLOCK state, .T. is ON, .F. is OFF
*
* LIMITATIONS
* None
*
* DEPENDENCIES
* Called by: _FxEntry
*---------------------------------------------------------------------
*-- Turn off the status bar to eliminate screen noise
SAVE SCREEN TO fentr
pl_status = SET( "STATUS" ) = "ON"
SET STATUS OFF
*-- Make the clock re-appear
RESTORE SCREEN FROM fentr
pl_clock = SET( "CLOCK" ) = "ON"
SET CLOCK ON
RELEASE SCREEN fentr
RETURN
*-- EOP: _KeepClk WITH pc_status, pc_clock
*'----------------------------------------------------------------------------
*' $Log: $
*'----------------------------------------------------------------------------